package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机端APP优化对象 tb_driver_app
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbDriverApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private Long driverAppId;

    /** 司机端APP名称 */
    @Excel(name = "司机端APP名称")
    private String driverAppName;

    /** 司机端APP版本号 */
    @Excel(name = "司机端APP版本号")
    private String driverAppVersions;

    /** versioncode */
    @Excel(name = "versioncode")
    private String codeNum;

    /** 应用系统 */
    @Excel(name = "应用系统")
    private Long systemOnline;

    /** 安装包 */
    private String driverAppUpload;

    /** 是否强制更新 */
    @Excel(name = "是否强制更新")
    private Long status;

    /** 更新文案 */
    @Excel(name = "更新文案")
    private String updateCopy;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setDriverAppId(Long driverAppId) 
    {
        this.driverAppId = driverAppId;
    }

    public Long getDriverAppId() 
    {
        return driverAppId;
    }

    public void setDriverAppName(String driverAppName) 
    {
        this.driverAppName = driverAppName;
    }

    public String getDriverAppName() 
    {
        return driverAppName;
    }

    public void setDriverAppVersions(String driverAppVersions) 
    {
        this.driverAppVersions = driverAppVersions;
    }

    public String getDriverAppVersions() 
    {
        return driverAppVersions;
    }

    public void setCodeNum(String codeNum) 
    {
        this.codeNum = codeNum;
    }

    public String getCodeNum() 
    {
        return codeNum;
    }

    public void setSystemOnline(Long systemOnline) 
    {
        this.systemOnline = systemOnline;
    }

    public Long getSystemOnline() 
    {
        return systemOnline;
    }

    public void setDriverAppUpload(String driverAppUpload) 
    {
        this.driverAppUpload = driverAppUpload;
    }

    public String getDriverAppUpload() 
    {
        return driverAppUpload;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setUpdateCopy(String updateCopy) 
    {
        this.updateCopy = updateCopy;
    }

    public String getUpdateCopy() 
    {
        return updateCopy;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverAppId", getDriverAppId())
            .append("driverAppName", getDriverAppName())
            .append("driverAppVersions", getDriverAppVersions())
            .append("codeNum", getCodeNum())
            .append("systemOnline", getSystemOnline())
            .append("driverAppUpload", getDriverAppUpload())
            .append("status", getStatus())
            .append("updateCopy", getUpdateCopy())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
